package com.gz.logistics.library.util;

import org.apache.http.client.protocol.RequestTargetAuthentication;

public class Constants {


	//public static final String URL_HOST = "http://192.168.10.29:3000";//测试服务器
	public static final String URL_HOST = "http://wl.mylife114.com";//正式服务器

	public static final String URL_CLOTHES = "http://221.204.249.71:7003/api/v1";//衣物接口ip

	public static final String VERSION_UPDATE = "http://api.mylife114.com/";//app版本检测正式环境（与考拉之家商城使用同一个接口）
	//public static final String VERSION_UPDATE = "http://221.204.249.71:4002/";//app版本检测正式环境（与考拉之家商城使用同一个接口）


	public static final int REQ_POST_CLOTHES = 11;//提交衣物属性是标签号重复
	public static final int REQ_POST_LOSE = 10;//提交衣物属性订单失效的
	public static final int REQ_UNKNOW = -1;//无请求
	public static final int REQ_OK = 0x0;//请求成功
	public static final int REQ_FAILED = 0x1;//请求失败
	public static final int REQ_OFFLINE = 0x2;//离线状态，需要重新登录
	public static final int REQ_NO_MORE_DATA = 0x4;//没有更多数据
	public static final int REQ_DATA_SIZE_LIMIT = 30;//网络数据返回条数

    // LoginListener 相关ret值
	public static final int REQ_ERROR_USER_NAME = 1; // 用户名错误
	public static final int REQ_ERROR_PWD = 2; // 密码错误
	public static final int REQ_USER_FORBIDDENED = 3; // 用户被禁用

	// HomeOrderListener 相关ret值
	public static final int REQ_NO_DISTRIBUTE = 2; // 没有分配到派送订单
	public static final int REQ_NO_CONDITION_SATISFIED_ORDERS = 5; // 没有满足条件的订单
	public static final int REQ_THIS_ORDER_IS_EMPTY = 6 ;// 只有一个订单，但是这个订单的详情不小心被删除了

	// SingleOrderLoggisticsStatusChangeListener 相关ret值
	public static  final int REQ_USEID_IS_EMPTY = 2;//用户id为空
	public static  final int REQ_SN_IS_EMPTY = 1;// 订单编号为空
	public static  final int REQ_NO_SPECIFIC_THIS_ORDER = 3;// 没有分配该订单
	public static  final int REQ_LOGISTICS_SIGN_FAIL = 4 ;// 物流签收失败

	//BatchOrdersStatusSignListener 相关ret值
	public static final int REQ_WHOLE_ORDERS_SIGN_FAIL = 4;//所有订单签收失败
	public static final int REQ_PART_ORDERS_SIGN_FAIL =5;//部分订单签收失败
	public static final int REQ_EXIST_ORDERS_THAT_HAS_NOST_SIGN_LOGISTICS = 6;//在批量对订单进行业务签收时，发现存在还未进行物流签收的订单

	//SingleOrderDeliveryStatusChangeListener 相关ret值
	public static final int REQ_DELIVERY_SIGN_FAIL = 4 ;// 业务签收失败
	public static final int REQ_HAS_NOT_SIGN_LOGISTICS = 5 ;// 该订单还未进行物流签收

	//GetPartsListener 相关ret值
	public static final  int REQ_PARTS_IS_EMPTY = 2;// 片区为空

	// GetWillOutOfStorageAssemblesListener 相关ret值
	public static final int REQ_NO_ASSEMBLES = 2;//没有预出库单

	//GetAssembleDetailListener 相关ret
	public static final int REO_OUTING_ASSEMBLE_ID_IS_EMPTY = 2;//预出库单id为空
	public static final int REQ_THIS_ASSEMBLE_HAS_DISCARDED = 3;//该预出库记录已经作废
	public static final int REQ_THIS_ASSEMBLE_IS_NOT_RELATIVE_WHIT_THIS_USER = 4;//该预出库记录里没有当前用户的订单
	public static final int REQ_ORDERS_IN_THIS_ASSEMBLE_IS_DISCARDED = 5;//该预出库记录里所有订单都已作废




    //SignAllOrdersOfTheAssembleListener 相关ret
	public static final int REQ_ASSEMBLE_ID_IS_EMPTY = 6; //预出库单号为空
	public static final int REQ_ASSEMBLE_IS_DISCARDED = 7; //该预出库单已作废
	public static final int REQ_THRER_IS_NO_ORDER_IN_THIS_ASSEMBLE_RELATIVE_THIS_USER = 8; //该预出库下没有当前物流员可签收的订单
	public static final int REQ_SIGN_ALL_FAILED = 9; //签收其下所有订单物流签收全部失败
	public static final int REQ_SIGN_PART_FAILED = 10; //签收其下所有订单物流签收部分失败


	//GetQRCodeOrderDetailListener
	public static final int REQ_QRCODE_THIS_ORDER_IS_NOT_BELONG_TO_THIS_USER = 3;//该订单不属于该用户
	public static final int REQ_QRCODE_THIS_ORDER_IS_NOT_EXIST = 4;//订单信息不存在



	public static final String FOLDER_ROOT = "/gangzhen";
	public static final String FOLDER_IMG_CACHE = "/ImgCache";
	public static final String FOLDER_IMG_TEMP_CACHE = "/ImgTempCache";//拍照或其他的临时图片缓存
	public static final String FOLDER_REPORT_CACHE = "/ReportCache";
	public static final String FOLDER_SPLASH_CACHE = "/SplashCache";
	public static final String FOLDER_ZIP_CACHE = "/ZipCache";//zip缓存
	public static final String FOLDER_APK_CACHE = "/ApkCache";
	public static final String FILE_ERROR_REPORT = "/err.log";
	public static final String FILE_BEHAVIOUS_REPORT = "/behavious.log";
	public static final String FILE_APK = "/tangchen.apk";
	
	public static final String REQ_MSG = "msg";
	public static final String REQ_RESULT = "result";
	public static final String REQ_STATUS = "ret";
	public static final String REQ_REF = "ref";
	
	public static final String PREFERENCE_USER_ID = "user_id";

	public static final String URL_LOGIN = URL_HOST +"/android_store/user_login"; // 登录
	public static final String URL_GET_HOME_ORDERS = URL_HOST+"/android_store/orders_signed_list";//已签收订单列表
	public static final String URL_GET_ORDER_STATUS_2 = URL_HOST + "/android_store/pre_orders_sign_list";//未签收的订单列表
	public static final String URL_GET_ORDER_DETAIL = URL_HOST + "/android_store/trans_order_detail";//根据订单编号查询订单详情
	public static final String URL_SINGLE_ORDER_LOGISTICS_SIGN = URL_HOST+"/android_store/order_storage_sign"; //单订单物流签收
    public static final String URL_BATCH_ORDER_LOGISTICS_SIGN = URL_HOST +"/android_store/order_storage_sign_batch";//批量订单物流签收
    public static final String URL_SINGLE_ORDER_DELIVERY_SIGN = URL_HOST+"/android_store/order_client_sign"; //单订单业务签收
	public static final String URL_BATCH_ORDER_DELIVERY_SIGN = URL_HOST +"/android_store/order_client_sign_batch";// 批量进行 业务签收
    public static final String URL_GET_PARTS = URL_HOST +"/android_store/user_part_list"; // 获取片区列表
	public static final String URL_GET_Will_OUT_STORAGE  = URL_HOST+"/android_store/pre_storage_out_list"; //未签收仓库商品列表
	public static final String URL_GET_WILL_OUT_YES = URL_HOST + "/android_store/storage_out_list";//已签收仓库商品列表
	public static final String URL_GET_WILL_OUT_ASSEMBLE_DETAIL = URL_HOST +"/android_store/order_list_by_storage_out_id";// 获取预出库单详情
    public static final String URL_GET_QRCODE_ORDER_DETAIL = URL_HOST +"/android_store/trans_order_detail";//获取二维码扫描出的订单详情
	public static final String URL_GET_STORE_HOUSE = URL_HOST + "/android_store/storehouse_list";//根据登录用户的id查询其负责的仓库
	public static final String URL_GET_COMMUNITY = URL_HOST + "/android_store/group_list";//根据仓库的id查询其下小区
	public static final String URL_GET_BUILDINGS = URL_HOST + "/android_store/building_list";//根据小区的id查询给小区包括的楼宇
	public static final String URL_GET_DAY_MONEY = URL_HOST + "/android_store/orders_signed_search";//物流员今日收款汇总
	public static final String URL_GET_CLOTHES_ORDERS = URL_CLOTHES + "/get_order_list";//获取预约单
	public static final String URL_GET_CLOTHES_COMMUNITYS = URL_CLOTHES + "/get_groups_list";//获取小区信息
	public static final String URL_GET_CLOTHES_BUILDINGS = URL_CLOTHES + "/get_buildings_list";//获取楼房信息
	public static final String URL_GET_CKOTHES_CATEGORY = URL_CLOTHES + "/get_clothing_category";//获取衣服分类
	public static final String URL_GET_CLOTHES_NAME = URL_CLOTHES + "/get_price";//获取衣物名称
	public static final String URL_GET_CLOTHES_COLOR = URL_CLOTHES + "/get_colour";//获取衣物的颜色
	public static final String URL_GET_CLOTHES_PINPAI = URL_CLOTHES + "/get_brand";//获取衣物的品牌
	public static final String URL_GET_CLOTHES_BUGS = URL_CLOTHES + "/get_flaws_note";//获取衣物的瑕疵
	public static final String URL_GET_CLOTHES_SPECIAL = URL_CLOTHES + "/get_special_process";//获取特殊处理的信息
	public static final String URL_POST_CLOTHES_INFO = URL_CLOTHES + "/post_order";//提交衣物信息
	public static final String URL_POST_CLOTHES_MONEY = URL_CLOTHES + "/post_receipt";//提交收款信息
	public static final String URL_POST_CLOTHES_SIGN = URL_CLOTHES + "/post_sign";//提交签收
	public static final String URL_CHECK_VERSION = VERSION_UPDATE + "/preload/vcv2";//检查app版本



}
